FROM ${docker.registry.public}/oracle-jdk:1.8
WORKDIR /
COPY ${project.build.finalName}.jar ${project.artifactId}.jar
#HEALTHCHECK CMD curl -f http://127.0.0.1:${service.port}/dockerHealthCheck || 1
ENTRYPOINT ["java", "-Xms1024M", "-Xmx4096M", "-XX:PermSize=128M", "-XX:MaxPermSize=1024M"${zone}${agent}, "-jar", "${project.artifactId}.jar"]